import os
import shutil
import time
# import sys
# sys.path.append(r"C:\Users\luguanjia\Desktop\luguanjia_backtage\base")
try:
    shutil.rmtree('report')
    os.mkdir('report')
except:
    pass
os.system('pytest')
os.system('allure generate report/ -o report/html --clean')